Package com.cisco.pt.ipc.sim.impl
Class DHCPClientProcessImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.ProcessImpl
com.cisco.pt.ipc.sim.impl.DHCPClientProcessImpl
- All Implemented Interfaces:
IPCObject,DHCPClientProcess,Process
Information provided by the PKI file:
\class DhcpClientProcess
\brief DhcpClientProcess handles the DHCP client process.
\example network().getDevice("Router0").getProcess("DhcpClient")
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionDHCPClientProcessImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPortDataEntry(String portName) booleandhcpRelease(String portName) Information provided by the PKI file:voidInformation provided by the PKI file:getDataOfPort(String portName) booleanisPortExisted(String portName) Information provided by the PKI file:voidremovePortDataEntry(String portName) Information provided by the PKI file:booleanresetDhcpConfOn(String portName) Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.sim.impl.ProcessImpl
getOwnerDeviceMethods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Constructor Details
-
DHCPClientProcessImpl
public DHCPClientProcessImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
removePortDataEntry
Information provided by the PKI file:
\brief Runs DHCP on the specified port. \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0- Specified by:
removePortDataEntryin interfaceDHCPClientProcess- Parameters:
portName- Takes in a parameter of portName
-
addPortDataEntry
- Specified by:
addPortDataEntryin interfaceDHCPClientProcess- Parameters:
portName- Takes in a parameter of portName
-
isPortExisted
Information provided by the PKI file:
\brief Runs DHCP on the specified port. \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \return bool, true if successful, otherwise false.- Specified by:
isPortExistedin interfaceDHCPClientProcess- Parameters:
portName- Takes in a parameter of portName- Returns:
- boolean Returns a boolean
-
dhcpRun
Information provided by the PKI file:
\brief Start dhcp process on the specified port. \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0- Specified by:
dhcpRunin interfaceDHCPClientProcess- Parameters:
portName- Takes in a parameter of portName
-
dhcpRelease
Information provided by the PKI file:
\brief Releases the DHCP lease from the specified port. \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \return bool, true if successful, otherwise false.- Specified by:
dhcpReleasein interfaceDHCPClientProcess- Parameters:
portName- Takes in a parameter of portName- Returns:
- boolean Returns a boolean
-
resetDhcpConfOn
Information provided by the PKI file:
\brief Resets the DHCP configuration on the specified port. \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \return bool, true if successful, otherwise false.- Specified by:
resetDhcpConfOnin interfaceDHCPClientProcess- Parameters:
portName- Takes in a parameter of portName- Returns:
- boolean Returns a boolean
-
getDataOfPort
- Specified by:
getDataOfPortin interfaceDHCPClientProcess- Parameters:
portName- Takes in a parameter of portName- Returns:
- DHCPClientPortData Returns a DHCPClientPortData
-